/*
 * @(#)UserServiceImpl.java	2013-1-31 下午4:33:15
 * order_jsp_servlet
 * Copyright 2013 Thuisoft, Inc. All rights reserved.
 * THUNISOFT PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.thunisoft.order.service.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.thunisoft.order.dao.IUserDao;
import com.thunisoft.order.domain.TUser;
import com.thunisoft.order.service.IUserService;

/**
 * UserServiceImpl
 * 
 * @author ice
 * @version 1.0
 * 
 */
public class UserServiceImpl implements IUserService {

    /**
     * 用户Dao
     */
    @Autowired
    private IUserDao userDao;

    @Override
    public boolean login(TUser user) {
        return userDao.login(user);
    }

    @Override
    public boolean checkUserExist(String sUsername) {
        return userDao.checkUserExist(sUsername);
    }

}
